package com.lokyiu.tutorial.java.exerisce4;

import java.util.Random;

public class Student {
	private String schoolName,formId,classId;
	private int studentNumebr;
	
	public Student(){
		Random rand = new Random();
		this.studentNumebr= rand.nextInt(49)+1;
	}
	
	public Student(int number){
		this.studentNumebr = number ;
	}

	public int getStudentNumebr() {
		return studentNumebr;
	}

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getFormId() {
		return formId;
	}

	public void setFormId(String formId) {
		this.formId = formId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	
}
